package com.issac.mmall.execption;

import com.issac.mmall.enums.MallResultEnum;

public class MallExecption extends RuntimeException {
    public MallExecption(String error){
        super(error);
    }
    public MallExecption(MallResultEnum mallResultEnumEnum){
        super(mallResultEnumEnum.getMsg());
    }
}
